<?php
/**
 * True Gallery Category template file
 *
 * @version 2.5
 * @author Alexey N. Brin (userxp@joomlaportal.ru)
 * @homepage http://truegallery.ru 
 * @filename category.tpl.php
 * @package True Gallery
 * @copyright (C) 2008-2009 by joomlatune.ru
 * @license GNU/GPL: http://www.gnu.org/copyleft/gpl.html
 * 
 * THIS GALLERY is an EVOLUTION of AkoGallery -> PonyGallery -> DatsoGallery
 *
 * If you fork this to create your own project, 
 * please make a reference to True Gallery someplace in your code 
 * and provide a link to http://www.joomlatune.ru
 *
 **/

defined('_VALID_MOS') or defined('_JEXEC') or die('Direct Access to this location is not allowed.');
?>
<div class="true_subcategory count<?php echo $tpl->item ?>">
	<a href="<?php echo $tpl->catlink; ?>" title="<?php echo $tpl->name; ?>" <?php echo $tpl->link_addon; ?>>
	<div>
		<div class="subcat_img" ><img src="<?php echo $tpl->imgsrc; ?>" alt="<?php echo $tpl->title; ?>" /></div>
		<div class="subcat_title"><h1><?php echo $tpl->name; ?></h1></div>
		<div class="subcat_desc">
			<ul>
				<?php 
				$html = '';
				$html .= $tpl->description ? '<li>'.$tpl->description.'</li>' : '';
				$html .= $tpl->author ? '<li>'.$tpl->author.'</li>' : '';
				$html .= $tpl->lastupdate ? '<li>'.$tpl->lastupdate.'</li>' : '';
				$html .= $tpl->imagesinfo ? '<li>'.$tpl->imagesinfo.'</li>' : '';
				echo $html;
				?>
			</ul>		
		</div>
	</div>
	</a>
</div>